package com.login.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.login.domain.LoginVO;

@Controller
public class LoginController {
	
	@RequestMapping(value="/login")
	public ModelAndView login(LoginVO loginVO){
		
		ModelAndView model = new ModelAndView();
		
		model.addObject("LoginVO", loginVO);
		model.setViewName("login");
		return model;
	}
}
	